#ifndef __I2C_H__
#define __I2C_H__

void i2c_init(void);
bool i2c_single_write(u8 slave,u8 address,u8 val);
u8 i2c_single_read(u8 slave,u8 address);
bool i2c_string_write (u8 slave,u8 const *buff,u8 address,u8 length);
bool i2c_string_read(u8 slave,u8 address,u8 *buff,u8 length);

#endif

